package studykana.models;

public class Alphabet {

	private int Id;
	private String hiragana;
	private String katakana;
	private String romaji;

	/*Check display text : 
	   + 0 : Display Hiragana
	   + 1 : Display Katakana
	   + 2 : Display Romaji */
	private int displayText;

	public Alphabet(int id, String hiragana, String katakana, String romaji) {
		super();
		Id = id;
		this.hiragana = hiragana;
		this.katakana = katakana;
		this.romaji = romaji;
	}

	public Alphabet() {
	}
	
	@Override
	public int hashCode() {
		return getId();
	}

	public Alphabet(Alphabet alphabet) {
		this.Id = alphabet.getId();
		this.hiragana = alphabet.getHiragana();
		this.katakana = alphabet.getKatakana();
		this.romaji = alphabet.getRomaji();
		this.displayText = alphabet.getDisplayText();
	}

	public void setHiragana(String hiragana) {
		this.hiragana = hiragana;
	}

	public void setKatakana(String katakana) {
		this.katakana = katakana;
	}

	public void setRomaji(String romaji) {
		this.romaji = romaji;
	}

	public int getId() {
		return Id;
	}

	public String getHiragana() {
		return hiragana;
	}

	public String getKatakana() {
		return katakana;
	}

	public String getRomaji() {
		return romaji;
	}

	public int getDisplayText() {
		return displayText;
	}

	public void setDisplayText(int displayText) {
		this.displayText = displayText;
	}

}
